package cc.catface.dao.biz.app;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel
@TableName("ap_collection")
public class ApCollection {
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    @TableField("user_id")
    @ApiModelProperty(value = "用户ID")
    private long userId;
    @TableField("article_id")
    @ApiModelProperty(value = "文章ID")
    private long articleId;
    @TableField("type")
    @ApiModelProperty(value = "收藏内容类型(0文章1动态)")
    private int type;
    @TableField("collection_time")
    @ApiModelProperty(value = "收藏时间")
    private Date collectionTime;
    @TableField("published_time")
    @ApiModelProperty(value = "发布时间")
    private Date publishedTime;
    @TableField("burst")
    @ApiModelProperty(value = "")
    private String burst;
}
